package cn.com.surker.enums.weight;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2023年04月21 14:26
 * @desc
 */
public enum WeightMessageTypeEnum implements IDescription {

    TARE(1,"皮重"), GROSS(0,"毛重"), REFUND(4,"退料"),
    CAR_TARE(2,"罐车除皮"), ERROR(3,"过磅错误");

    private final String description;

    private final Integer code;

    WeightMessageTypeEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
